package com.coocaa.ops.admin.v1.auth.sys.biz;

import com.coocaa.ops.admin.v1.auth.sys.mapper.ISysRoleMenuRunMapper;
import com.coocaa.ops.common.core.base.IBaseBiz;
import com.coocaa.ops.common.core.biz.auth.entity.SysRoleMenuRunEntity;

import java.util.List;
import java.util.Map;

/**
 * @author bijiahao
 * @date : 2019/3/18.
 * @description
 */
public interface ISysRoleMenuRunBiz extends IBaseBiz<ISysRoleMenuRunMapper, SysRoleMenuRunEntity> {
    /**
     * 批量保存
     *
     * @param roleId
     * @param menuRuns
     */
    void saveBatch(Integer roleId, List<SysRoleMenuRunEntity> menuRuns);

    /**
     * 查询所有数据
     * @param params
     * @return
     */
    List<SysRoleMenuRunEntity> queryAll(Map<String, Object> params);
}
